home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindspring.com!chmood
- From: chmood@photobooks.atdc.gatech.edu (Charlie Moody)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: AmigaOS 4.x features
- Date: 30 Mar 1996 23:29:55 GMT
- Organization: Photobooks Inc
- Message-ID: <4jkg5j$dva@B1FF.mindspring.com>
- References: <4j7ein$a6v@B1FF.mindspring.com> <4jc7g1$ipq@news.rhrz.uni-bonn.de> <4jfm8i$b5n@B1FF.mindspring.com> <4jgc6q$a61@reuter.cse.ogi.edu>
- NNTP-Posting-Host: photobooks.atdc.gatech.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- On 29 Mar 1996 09:57:46 GMT, Tony Leneis wrote:
- : In article <4jfm8i$b5n@B1FF.mindspring.com>,
- : Charlie Moody <chmood@photobooks.atdc.gatech.edu> wrote:
- : >
- : >: : - adoption of *nix pattern-matching; it stands head, shoulders, and ankles
- : >: : above the original Amiga 'system' in power, simplicity, and flexibility.
-
- : I'll grant that * is easier than #?, but the Amiga pattern matching
- : is more powerful than traditional UNIX globbing. As was pointed out earlier,
- : you can always enable a UNIX-ish * by using a utility like wildstar.
-
- It may be *as* powerful, but not moreso (and what the heck is 'UNIX
- globbing'?), and certainly not as well thought out. And that's the point
- about enabling the '*': it's easy, and not nearly as useful as it would
- be in context.
-
-
- : >Not just '?' and '*', but also the bracketed ranging, a la 'mv
- : >fred-[a-z].pgm ram:'.
-
- : You can do that now. Have you ever *tried* it before? For example:
-
- [3.1-specific example removed]
-
- : This is with the standard shell and dir command. Look on pages 3-16 through
- : 3-18 in the Amiga OS 3.1 DOS manual.
-
- Rumour has it that I'll be running 3.1 by Tuesday, so I'll let you know....
-
-
- : Of course, if you're running 2.04 or
- : earlier (I don't know about 2.1 or 3.0, though I'd assume 3.0 does square
- : brackets), you can get the same effect by using the ()'s and | operators.
- ^^^^^^^^^^^^^^^^^^^^^^^
-
- Yes, I can get the same effect as in can under unix pattern-matching...all
- I have to do is use a completely different, much more cumbersome, and much
- less intuitive (read: badly designed) method.
-
- That's not "more flexible"; it's not "more powerful"; and it sure as
- h*ll ain't any easier. Isn't it basic common sense to avoid re-inventing
- the wheel *whenever* possible?
-
-
- : For example, "dir sys:(a|b|c|e)#?".
-
- [additional references to documentation for more counter-intuitive,]
- [anti-logical methods deleted]
-
- dir sys:[a-e]*
-
- Logical, simple, fast: elegant.
-
-
- [explanation of how this one really *is* a better wheel deleted]
-
- ; The main problem,
- : if you want to call it a problem, is that it's different. It also can be a
- : little more awkward to use for certain patterns, but it always can get the
- : job done.
-
- The fact that the kludge can be worked around does nothing to redeem the
- kludge. It's still bad design with no significant benefit from making
- the sacrifices, and it should be thrown overboard at the first opportunity.
-
-
- : I'd certainly take the functionality of the # operator any day
- : over the UNIX * operator (provided I've got a match-any-character operator
- : to go with it.)
-
- You'd gladly throw away the match-any-character option, provided you've
- got a match-any-character option to replace it???
-
- : -Tony
- : --
- : =====///===Hi!==I'm=a=.signature=virus!==Copy=me=to=your=.signature!===///==
- : __ /// leneis@cse.ogi.edu From the desk of: Hillary, __ ///
- : \\\/// tony@plaza.ds.adp.com -->Tony Leneis<-- Gennifer, \\\///Only
- : \XX/ aleneis@gauss.math.hmc.edu HMC '91 Go Stags! AND NOW US!\XX/Amiga
-
- --
- "Christians held attitudes that did little to endear them to Romans. Bishop
- Irenaeus, for example, declared, "We have no need of the law for we are
- already far above it in our godly behaviour."
- - "The Dark Side of Christian History", H. Ellerbe
-